package Fieldo2;

public class CircleTest {public static void main(String[] args) {
    Circle c2 = new  Circle();
    CircleTest c3 = new CircleTest();

    c3.printAreas(c2,5);
}
    public void printAreas(Circle c,int time){
        System.out.println("半径" + "\t" + "\t" + "\t" + "面积");
        for (int i = 1; i <= time ; i++){
            c.radius = i;
            System.out.println(c.radius+"\t" + "\t" + "\t" + c.findarea());
        }
    }
}
